package com.yuyou.fn.educational.mapper;

import com.github.wens.mybatisplus.mapper.AutoMapper;
import com.yuyou.fn.educational.entity.QuestionnaireSetting;
import com.yuyou.fn.educational.vo.NaireSettingQueryVo;
import com.yuyou.fn.educational.vo.NaireSettingVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * QuestionnaireSetting 表数据库控制层接口
 *
 */
public interface QuestionnaireSettingMapper extends AutoMapper<QuestionnaireSetting,Long> {

    List<NaireSettingVo> findListByQueryVo(@Param("NaireSettingQueryVo")NaireSettingQueryVo naireSettingQueryVo, @Param("start")Integer start,@Param("end")Integer end);

    Integer countByQueryVo(@Param("NaireSettingQueryVo")NaireSettingQueryVo naireSettingQueryVo);

    NaireSettingVo findOneBySettingId(@Param("settingId")Long settingId);
}